{
    "config": {
        "wide_screen_mode": true
    },
    "elements": [
        {
            "fields": [
                {
                    "is_short": true,
                    "text": {
                        "content": "**通知角色**\n{{$role}}",
                        "tag": "lark_md"
                    }
                },
                {
                    "is_short": true,
                    "text": {
                        "content": "**通知人**\n{{$username}}",
                        "tag": "lark_md"
                    }
                }
            ],
            "tag": "div"
        },
        {
            "tag": "div",
            "fields": [
                {
                    "is_short": true,
                    "text": {
                        "tag": "lark_md",
                        "content": "**培训周期**\n{{$start}} ~ {{$end}}"
                    }
                },
                {
                    "is_short": true,
                    "text": {
                        "tag": "lark_md",
                        "content": "**合格率**\n{{$rate}}%"
                    }
                }
            ]
        },
        {
        "tag": "hr"
        }
        @foreach ($trainingOrder as $order)
        ,
        {
            "tag": "div",
            "fields": [
                {
                    "is_short": true,
                    "text": {
                        "tag": "lark_md",
                        "content": "**门店信息**\n @if ($order['result'] == 1)<font color='green'> 【合格】 @else <font color='red'> 【不合格】 @endif</font>{{$order['shopName']}}"
                    }
                },
                {
                    "is_short": true,
                    "text": {
                        "tag": "lark_md",
                        "content": "**学员（理论、实操）**\n{{$order['userText']}}"
                    }
                }
            ]
        },
        {
            "tag": "div",
            "fields": [
                {
                    "is_short": true,
                    "text": {
                        "tag": "lark_md",
                        "content": "**岗位评价**\n{{$order['commentText']}}"
                    }
                },
                {
                    "is_short": true,
                    "text": {
                        "tag": "lark_md",
                        "content": "**加盟商画像**\n{{$order['portrait']}}"
                    }
                }
            ]
        },
        {
            "tag": "div",
            "fields": [
                {
                    "is_short": true,
                    "text": {
                        "tag": "lark_md",
                        "content": "**未完成培训承诺书**\n{{$order['resourceFailLetter']}}"
                    }
                },
                {
                    "is_short": true,
                    "text": {
                        "tag": "lark_md",
                        "content": "**督导**\n{{$order['managerName']}}"
                    }
                }
            ]
        },
        {
            "tag": "hr"
        }
        @endforeach
    ],
    "header": {
        "template": "blue",
        "title": {
            "content": "【完成培训通知】{{$title}} 新店培训数据请查收！",
            "tag": "plain_text"
        }
    }
}
